package com.pm.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 预约管理对象 pm_appointment
 * 
 * @author li
 * @date 2025-09-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PmAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约id */
    private Long id;

    /** 宠物 */
    @Excel(name = "宠物")
    private String pets;

    /** 服务项目id */
    @Excel(name = "服务项目")
    private String serviceItem;

    /** 服务人员id */
    @Excel(name = "服务人员")
    private String servicePersonnel;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /** 时间段 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间段", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timePeriod;

    /** userid */
    @Excel(name = "userID")
    private int userId;
}
